Exact Analysis of Exact Change
نویسنده
چکیده
We consider the k-payment problem: given a total budget of N units, the problem is to represent this budget as a set of coins, so that any k exact payments of total value at most N can be made using k disjoint subsets of the coins. The goal is to minimize the number of coins for any givenN and k, while allowing the actual payments to be made on-line, namely without the need to know all payment requests in advance. The problem is motivated by the electronic cash model, where each coin is a long bit sequence, and typical electronic wallets have only limited storage capacity. The k-payment problem has additional applications in other resource-sharing scenarios. Our results include a complete characterization of the kpayment problem as follows. First, we prove a necessary and sufficient condition for a given set of coins to solve the problem. Using this characterization, we prove that the number of coins in any solution to the k-payment problem is at least kHN=k, where Hn denotes the nth element in the harmonic series. This condition can also be used to efficiently determine k (the maximal number of exact payments) which a given set of coins allows in the worst case. Secondly, we give an algorithm which produces, for any N and k, a solution with minimal number of coins. In the case that all denominations are available, the algorithm finds a coin allocation with at most (k+1)HN=(k+1) coins. (Both upper and lower bounds are the best possible.) Finally, we show how to generalize the algorithm to the case where some of the denominations are not available.
منابع مشابه
Buckling and Post-buckling Analysis of FG-CNTRC Beams: An Exact Closed Form Solution
The present work derives the exact analytical solutions for buckling and post-buckling analysis of nano-composite beams reinforced by single-walled carbon nanotubes (SWCNTs) based on the Euler-Bernoulli beam theory and principle of virtual work. The reinforcements are considered to be aligned in the polymeric matrix either unifor...
متن کاملExact Closed-Form Solution for Vibration Analysis of Truncated Conical and Tapered Beams Carrying Multiple Concentrated Masses
In this paper, an exact closed-form solution is presented for free vibration analysis of Euler-Bernoulli conical and tapered beams carrying any desired number of attached masses. The concentrated masses are modeled by Dirac’s delta functions which creates no need for implementation of compatibility conditions. The proposed technique explicitly provides frequency equation and corresponding mode ...
متن کاملSuperlinearly convergent exact penalty projected structured Hessian updating schemes for constrained nonlinear least squares: asymptotic analysis
We present a structured algorithm for solving constrained nonlinear least squares problems, and establish its local two-step Q-superlinear convergence. The approach is based on an adaptive structured scheme due to Mahdavi-Amiri and Bartels of the exact penalty method of Coleman and Conn for nonlinearly constrained optimization problems. The structured adaptation also makes use of the ideas of N...
متن کاملExact Solutions of the Generalized Kuramoto-Sivashinsky Equation
In this paper we obtain exact solutions of the generalized Kuramoto-Sivashinsky equation, which describes manyphysical processes in motion of turbulence and other unstable process systems. The methods used to determine the exact solutions of the underlying equation are the Lie group analysis and the simplest equation method. The solutions obtained are then plotted.
متن کاملExact Analytical Solution for Bending Analysis of Functionally Graded Annular Sector Plates
In this article, an exact levy solution is presented for bending analysis of a functionally graded (FG) annular sector plate. The governing equilibrium equations are obtained based on the classical plate theory. Introducing an analytical method for the first time, the three coupled governing equilibrium equations are replaced by an independent equation in term of transverse deflection. This equ...
متن کاملComparison of Exact Analysis and Steplines Approximation for Externally Excited Exponential Transmission Line
In the present paper, the problem of externally excited exponential transmission line hasbeen solved analytically in frequency domain using a simple approach. Then steplines approximationas a first order approximation for the problem of externally excited nonuniform transmission lines ingeneral and exponentially tapered transmission line (ETL) as a special case has been presented.Finally the tw...
متن کامل